Added support for multiple cars in sim #134
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Testing
You can launch the official launch file
rocket_league.launch
.Then add the car in sim (kind of like setting a new car on the field):
Then add the car to the network:
To see the new car in the visualizer:
Future work for sim & viz + misc. updates
As of now, cars are launched with an agent type of either
none
,planner
orautonomy
. But I was thinking we could change that tocontrol_type
, then easily launch xbox and keyboard interfaces in the same launch file. With the options being:none
,bezier_agent
,autonomy_agent
,xbox
, orkeyboard
.I started exploring a few different domain adaptation and randomization methods. Which could help detect issues in planners early and improve the usefulness of autonomy agents. So hopefully I can propagate some of those changes into the sim soon.
Going to push another PR today or tomorrow with additional bezier planner changes.